package com.atqinke.designpattern.structuraltype.appearance;

/**
 * @BelongsProject: BasicConnection
 * @BelongsPackage: com.atqinke.DesignPattern.structuraltype.appearance
 * @Author: NieHk
 * @CreateTime: 2022-08-26  22:28
 * @Description:
 * @Version: 1.0
 */
public class test {
    public static void main(String[] args) {
        //创建外观对象
        SmartAppliancesFacade facade = new SmartAppliancesFacade();
        //客户端直接与外观对象进行交互
        facade.say("打开家电");
        facade.say("关闭家电");
    }
}
